package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.example.demo.SysDict;
import com.example.demo.dao.SysDictMapper;
import com.example.demo.service.BaseService;
import com.example.demo.service.SystemDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: SystemDictServiceImpl
 * @Author : sz
 * @Date :2024/2/29  11:19
 * @Version :1.0
 */
@Service
public class SystemDictServiceImpl  extends BaseService<SysDictMapper, SysDict, Long>  implements SystemDictService {



    @Override
    public SysDict getDetailById(String id) {


        return this.baseMapper.selectById(id);
    }

    @Override
    public List<SysDict> getAll() {
        return  this.baseMapper.getAll();
    }


}
